<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of DBGenerationHelper
 *
 * @author vlad
 */
class DBGenerationHelper  {
     
   private $_dbh;   
   
   private $_DBGen;
   
   public function __construct ($inConfig) {
       $this->_dbh = new DBHandle($inConfig);
       $this->_dbstruct = new SQLDatabase(&$this->_dbh);
   }
   
   public function Generate() {
       
       $this->_DBGen = new DBGen($this->_dbstruct);
       $this->_DBGen->Generate();
   }
}

?>
